package com.macro.mall.dao.ums;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.ums.UmsMenuDO;
import com.macro.mall.model.ums.UmsMenuQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UmsMenuMapper extends BaseMapper<UmsMenuDO> {
    long countByExample(UmsMenuQuery example);

    int deleteByExample(UmsMenuQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(UmsMenuDO record);

    int insertSelective(UmsMenuDO record);

    List<UmsMenuDO> selectByExample(UmsMenuQuery example);

    UmsMenuDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UmsMenuDO record, @Param("example") UmsMenuQuery example);

    int updateByExample(@Param("record") UmsMenuDO record, @Param("example") UmsMenuQuery example);

    int updateByPrimaryKeySelective(UmsMenuDO record);

    int updateByPrimaryKey(UmsMenuDO record);
}
